class CreateRestaurantMessages < ActiveRecord::Migration[5.0]
  def change
    create_table :restaurant_messages do |t|
      t.integer :restaurant_id
      t.boolean :is_read,default: false
      t.text :content
      t.string :message_type
      t.string :title
      t.text :url
      t.timestamps
    end
  end
end
